package com.mrjy.maintain.dao;

import java.util.List;

import com.mrjy.common.entity.MenuInfo;

public interface IMenuInfoDao {		
		//根据角色ID查询菜单
		List<MenuInfo> queryMenuByRoleId(int roleId);

		Object queryByMenuUrl(String menuUrl);
		
		//根据roleId查询所有子权限(menu_level=2)
		List<MenuInfo> queryChildMenuByRoleId(int roleId);
		
		//查询所有权限
		List<MenuInfo> queryAllMenu();
}
